import request from '@/utils/request'

export default {
  getConfig: (data) => {
    return request({
      url: '/admin/queryCheckConfig',
      method: 'post',
    })
  },
  updateConfig: data => {
    return request({
      url: '/admin/updateCheckConfig',
      method: 'post',
      data
    })
  }
}
